package entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 商品key
 * </p>
 *
 * @author hjj
 * @since 2023-02-28
 */
@Getter
@Setter
@TableName("tb_key")
@ApiModel(value = "Key对象", description = "商品key")
public class Key implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("商品key")
      @TableId(value = "key_id", type = IdType.AUTO)
    private Integer keyId;

    @ApiModelProperty("商品key名称")
    @TableField("key_name")
    private String keyName;

    @ApiModelProperty("商品key创建时间")
    @TableField("key_created")
    private LocalDate keyCreated;

    @ApiModelProperty("商品key更新时间")
    @TableField("key_updated")
    private LocalDate keyUpdated;


}
